package com.example.d1_polymorphism;

/**
 * 老师类
 */
public class Teacher extends People {
    public String name = "子类Teacher的名称";

    @Override
    public void run() {
        System.out.println("老师跑的气喘吁吁~~");
    }
}
